package com.xnyzc.lhy.mis.entity.cms.config;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;


/**
*
* 提现规则
*
* @author baoyaze
* @since 2019-10-20
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysCashWithdrawalConfig对象", description="提现规则")
public class OaSysCashWithdrawalConfig implements Serializable
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提现规则ID")
    @TableId(value="withdrawal_config_id")
    private Long withdrawalConfigId;

    @ApiModelProperty(value = "城市")
    private String cityId;

    @ApiModelProperty(value = "城市名称")
    @TableField(exist = false)
    private String cityName;

    @ApiModelProperty(value = "冻结期(天)")
    private Integer freezePeriod;

    @ApiModelProperty(value = "提现最大金额(元)")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "每日最多提现次数")
    private Integer maxNumPerDay;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本")
    @Version
    private Long version;

    @ApiModelProperty(value = "删除标志")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "租户ID")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String WITHDRAWAL_CONFIG_ID = "withdrawal_config_id";

    public static final String CITY_ID = "city_id";

    public static final String FREEZE_PERIOD = "freeze_period";

    public static final String MAX_PRICE = "max_price";

    public static final String MAX_NUM_PER_DAY = "max_num_per_day";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
